package rkdwogus7;

import java.util.Scanner;

public class Practice_set {

	public static void main(String[] args) {
		Scanner sc = null;
		int mykey, lottokey;
		final String MSG1, MSG2;
		sc = new Scanner(System.in);
		
		lottokey = 777;
		MSG1 = "축하합니다! 상금 20억입니다~";
		MSG2 = "꽝 다음기회에...";
		System.out.println( "복권 숫자 3자리를 입력해 주세용" );
		mykey = sc.nextInt();
		
		if (mykey == lottokey) {
			System.out.println(MSG1);
		}
		else {
			System.out.println(MSG2);
		sc.close();
		}
		

	}

}
